package cn.lg.soar.mvc.log;


import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Lazy;

/**
 * 日志收集接口默认实现
 * @author luguoxiang
 * @date 2021-08-11
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Slf4j
@Lazy
@ConditionalOnMissingBean(ILogConfigService.class)
public class DefaultLogConfigSaveService implements ILogConfigService {

    private final static Logger logger = LoggerFactory.getLogger(DefaultLogConfigSaveService.class);

    @Override
    public LogConfigDTO getLogConfig(String code) {
        logger.info("查询日志配置失败，请实现ILogConfigService接口");
        return null;
    }

}
